package com.htao.train.batch.controller;

import com.htao.train.batch.feign.BusinessFeign;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author： HTTT
 * @Date： 2023/12/18 20:32
 * @Describe：
 */
@RestController
public class TestController {
    @Resource
    private BusinessFeign businessFeign;
    @GetMapping("/hello")
    public String hello(){return "hello Word Batch";}

    @GetMapping("/hellob")
    public String hellob(){return businessFeign.hello();}
}
